﻿#region

using Vin.Extension.Framework.Attributes;

#endregion

namespace Vin.Extension.Framework.Constants;

public enum VinBusinessType
{
    /// <summary>
    /// 系统异常
    /// </summary>
    [Description("系统异常", "error")] SystemException = -1,

    /// <summary>
    /// 添加或更新
    /// </summary>
    [Description("添加或更新", "success")] InsertOrUpdate = 0,

    /// <summary>
    /// 添加
    /// </summary>
    [Description("添加", "success")] Insert = 1,

    /// <summary>
    /// 编辑
    /// </summary>
    [Description("更新", "success")] Update = 2,

    /// <summary>
    /// 删除
    /// </summary>
    [Description("删除", "error")] Delete = 3,

    /// <summary>
    /// 重置密码
    /// </summary>
    [Description("重置密码", "warning")] ResetPassword = 4,

    /// <summary>
    /// 更新信息
    /// </summary>
    [Description("更新信息", "success")] UpdateInfo = 5,

    /// <summary>
    /// 上传
    /// </summary>
    [Description("上传", "info")] Upload = 6,

    /// <summary>
    /// 绑定
    /// </summary>
    [Description("绑定", "success")] Bind = 7,

    /// <summary>
    /// 解绑
    /// </summary>
    [Description("解绑", "error")] UnBind = 8,

    /// <summary>
    /// 登录
    /// </summary>
    [Description("登录", "info")] Login = 9,

    /// <summary>
    /// 上架
    /// </summary>
    [Description("上架", "success")] Shelf = 10,

    /// <summary>
    /// 下架
    /// </summary>
    [Description("下架", "error")] UnShelf = 11,

    /// <summary>
    /// 创建
    /// </summary>
    [Description("创建", "success")] Create = 12,

    /// <summary>
    /// 充值
    /// </summary>
    [Description("充值", "success")] Recharge = 13,
}